package com.Cychat.doctor.service;

import com.Cychat.commons.entity.pojo.Doctor;
import com.Cychat.commons.entity.vo.DoctorVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * Auther: 谢宝辉  <br/>
 * Date: 2025/11/3:17:15  <br/>
 * Description: 医生Service
 */
public interface DoctorService extends IService<Doctor> {
    List<DoctorVo> getAllDoctors();
    IPage<DoctorVo> getDoctorVoPage(Page<Doctor> page, Integer hospitalId, Integer departmentId);
    DoctorVo getDoctorVoByUserInfoId(Integer userinfoId);
    DoctorVo getDoctorVoById(Integer doctorId);
    boolean updateDoctor(Doctor doctor);
    boolean checkUserInfoIdExists(Integer userinfoId);
}
